import requestBody from './apiBasics/requestBody';

const apix = new requestBody(
  {
    baseURL: '/erpapi',
    timeout: 100000,
    headers: {
      'Content-Type': 'application/json',
      token: localStorage.getItem('TOKEN'),
    },
  },
  (_res: any) => {},
  (_res: any) => {},
);

const { APIGET, APIPOST, APIPUT, APIDELETE } = apix;

export { APIGET, APIPOST, APIPUT, APIDELETE };
